package com.company.cloud.product.modules.mgr.service;

import com.company.cloud.common.bean.LoginSimpleUserInfo;
import com.company.cloud.product.modules.api.request.ProductStockMultipleSkuOpParam;
import com.company.cloud.product.modules.api.request.ProductStockSingleSkuOpParam;
import com.company.cloud.product.modules.mgr.controller.req.ProductStockComeSaveParam;
import com.company.cloud.product.modules.mgr.controller.req.ProductStockOutSaveParam;

public interface ProductStockMgrService {

	
	/**单SKU库存操作(事务)*/
	public void opStock(ProductStockSingleSkuOpParam params);
	/**单SKU库存操作(无事务)*/
	public void opStockNotTransactional(ProductStockSingleSkuOpParam params);
	/**多SKU库存操作(事务)*/
	public void opStock(ProductStockMultipleSkuOpParam params);
	/**多SKU库存操作(无事务)*/
	public void opStockNotTransactional(ProductStockMultipleSkuOpParam params);
	
	/**入库*/
	public void saveComeOrder(ProductStockComeSaveParam params, LoginSimpleUserInfo userInfo);
	/**出库*/
	public void saveOutOrder(ProductStockOutSaveParam params ,LoginSimpleUserInfo userInfo);
	
}
